package o;

import android.content.ComponentName;
import android.content.ServiceConnection;
import android.net.Uri;
import android.net.Uri.Builder;
import com.google.android.gms.common.annotation.KeepForSdk;

@KeepForSdk
public abstract class aov {
    private static final Object ˊ = new Object();

    public static final class c {
        private static final Uri ʻ = new Builder().scheme("content").authority("com.google.android.gms.chimera").build();
        private final String ˊ;
        private final String ˋ;
        private final boolean ˎ;
        private final ComponentName ˏ = null;
        private final int ॱ;

        public c(String str, String str2, int i, boolean z) {
            this.ˊ = apa.ˋ(str);
            this.ˋ = apa.ˋ(str2);
            this.ॱ = i;
            this.ˎ = z;
        }

        public final String toString() {
            return this.ˊ == null ? this.ˏ.flattenToString() : this.ˊ;
        }

        public final int hashCode() {
            return aoz.ॱ(this.ˊ, this.ˋ, this.ˏ, Integer.valueOf(this.ॱ), Boolean.valueOf(this.ˎ));
        }

        public final boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof c)) {
                return false;
            }
            c cVar = (c) obj;
            if (aoz.ॱ(this.ˊ, cVar.ˊ) && aoz.ॱ(this.ˋ, cVar.ˋ) && aoz.ॱ(this.ˏ, cVar.ˏ) && this.ॱ == cVar.ॱ && this.ˎ == cVar.ˎ) {
                return true;
            }
            return false;
        }
    }

    public abstract boolean ˊ(c cVar, ServiceConnection serviceConnection, String str);

    protected abstract void ˋ(c cVar, ServiceConnection serviceConnection, String str);

    public final void ˋ(String str, String str2, int i, ServiceConnection serviceConnection, String str3, boolean z) {
        ˋ(new c(str, str2, i, z), serviceConnection, str3);
    }
}
